package com.aplink.generic.pojo.controlspec;

public class ImageViewSpec extends ControlSpec {
    /**
     * 
     */
    private static final long serialVersionUID = 8387576012942578502L;
    private boolean isReadOnly;
    private String mDefaultImage;
    private int mImageHeight;
    private int mImageWidth;
    private float mMaxZoom;
    private float mMinZoom;

    public ImageViewSpec(final boolean isReadOnly) {
        this.isReadOnly = isReadOnly;
    }

    public String getDefaultImage() {
        return this.mDefaultImage;
    }

    public int getImageHeight() {
        return this.mImageHeight;
    }

    public int getImageWidth() {
        return this.mImageWidth;
    }

    public float getMaxZoom() {
        return this.mMaxZoom;
    }

    public float getMinZoom() {
        return this.mMinZoom;
    }

    public boolean isReadOnly() {
        return this.isReadOnly;
    }

    public void setDefaultImage(final String defaultImage) {
        this.mDefaultImage = defaultImage;
    }

    public void setImageHeight(final int imageHeight) {
        this.mImageHeight = imageHeight;
    }

    public void setImageWidth(final int imageWidth) {
        this.mImageWidth = imageWidth;
    }

    public void setMaxZoom(final float maxZoom) {
        this.mMaxZoom = maxZoom;
    }

    public void setMinZoom(final float minZoom) {
        this.mMinZoom = minZoom;
    }

    public void setReadOnly(final boolean isReadOnly) {
        this.isReadOnly = isReadOnly;
    }

}
